#!/usr/bin/env python
# -*- coding: utf-8 -*-
from typing import TypeVar

from app.models import User
from pydantic import BaseModel

from app.dao.base_dao import BaseDao
from app.db.base_class import Base
from app.models.constant import Constant
from app.models.user_setting import UserSetting


class ConstantDao(BaseDao[Constant]):
    def __init__(self):
        super(ConstantDao, self).__init__()
        self.modelClass = Constant
        self.id = Constant.id


constantDao = ConstantDao()
